package jp.co.technotree.exception;

public class DataAccessException extends Exception implements ChainException{
	private static final long serialVersionUID = 1L;

	private Exception exception = null;

	public DataAccessException() {
		super();
	}

	public DataAccessException(String arg0) {
		super(arg0);
	}

	public DataAccessException(String arg0, Throwable arg1) {
		super(arg0, arg1);
	}

	public DataAccessException(Throwable arg0) {
		super(arg0);
	}

	public void addException(Exception exception) {
		this.exception = exception;
	}

	public Exception getException() {
		return this.exception;
	}

}
